import {NgModule} from '@angular/core';
import {RouterModule, Routes} from '@angular/router';
import {OrganizationListComponent} from './list/organization-list.component';
import {OrganizationTreeComponent} from "./tree/organization-tree.component";
import {OrganizationEditComponent} from "./edit/organization-edit.component";
import {GnCrudModule} from "geminis-ng";

const routes: Routes = [
  {path: '', component: OrganizationListComponent}
];

@NgModule({
  declarations: [
    OrganizationListComponent,
    OrganizationTreeComponent,
    OrganizationEditComponent
  ],
  imports: [
    RouterModule.forChild(routes),
    GnCrudModule
  ],
  exports: [
    OrganizationListComponent,
    OrganizationTreeComponent,
    OrganizationEditComponent
  ],
  entryComponents: [
    OrganizationEditComponent
  ]
})

export class OrganizationModule {
}

export {OrganizationListComponent} from './list/organization-list.component';
